-
Notifications
You must be signed in to change notification settings - Fork 3.7k
fix: HOTFIX anthropic: strip thinking without signature and empty text parts #8329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Review Complete Code Review for PR #8329The changes look good overall and properly address the issue of malformed Anthropic payloads. Here are a few observations: Positive aspects:
Potential issues to consider:
Suggestion: Add unit tests in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
…allin/anthropic-messaging-bug
🎉 This PR is included in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.27.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Fixes #8314
It already works this way in open ai adapters
Summary by cubic
Prevents malformed Anthropic payloads by stripping empty text parts and dropping thinking blocks without a signature. Fixes #8314.